import React, { Component } from "react";

// 轮播图组件
import Swiper from "../../components/home/Swiper.js";

// 菜单导航
import Nav from "../../components/home/Nav.js";
// 租房小组
import Group from "../../components/home/Group.js";

// 新闻资讯
import News from "../../components/home/News.js";

import "./index.scss";

class Index extends Component {
  render() {
    return (
      <div className="homeindex">
        {/* 轮播图组件 */}
        <div className="swipe">
          <Swiper></Swiper>
        </div>
        {/* 菜单导航 */}
        <div className="nav">
          <Nav></Nav>
        </div>

        {/* 租房小组 */}
        <div className="group">
          <Group></Group>
        </div>

        {/* 最新资讯 */}
        <div className="news">
          <News></News>
        </div>
      </div>
    );
  }
}

export default Index;
